Open
Conversation
ramiy
suggested changes
Nov 30, 2025
src/js/components/Import/FromFileUpload/components/ImportResultDisplay.tsx
Outdated
Show resolved
Hide resolved
src/js/components/Import/FromOtherPlugins/components/SimpleSnippetTable.tsx
Outdated
Show resolved
Hide resolved
src/js/components/Import/FromOtherPlugins/components/SimpleSnippetTable.tsx
Outdated
Show resolved
Hide resolved
src/js/components/Import/FromFileUpload/components/DragDropUploadArea.tsx
Outdated
Show resolved
Hide resolved
src/js/components/Import/FromFileUpload/components/DragDropUploadArea.tsx
Outdated
Show resolved
Hide resolved
src/js/components/Import/FromFileUpload/components/DuplicateActionSelector.tsx
Outdated
Show resolved
Hide resolved
src/js/components/Import/FromFileUpload/components/SelectedFilesList.tsx
Outdated
Show resolved
Hide resolved
…tDisplay.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…ppetTable.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…ppetTable.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…ctionTable.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…tionSelector.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…tionSelector.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…tionSelector.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…tDisplay.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…tDisplay.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…elector.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…ions.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…play.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…ions.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…ppetTable.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…oadArea.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…oadArea.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…tionSelector.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…esList.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
Download and install |
ramiy
suggested changes
Dec 6, 2025
src/js/components/Import/FromOtherPlugins/components/SimpleSnippetTable.tsx
Outdated
Show resolved
Hide resolved
src/js/components/Import/FromOtherPlugins/components/StatusDisplay.tsx
Outdated
Show resolved
Hide resolved
Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…ppetTable.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
…play.tsx Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
Co-authored-by: Rami Yushuvaev <rami@codesnippets.pro>
# Conflicts: # src/php/class-plugin.php
…code-snippets into import-snippets # Conflicts: # src/php/class-plugin.php
ramiy
suggested changes
Dec 19, 2025
|
|
||
| {result.warnings && result.warnings.length > 0 && ( | ||
| <div style={{ marginBlockStart: '12px' }}> | ||
| <h4 style={{ margin: '0 0 8px 0', fontSize: '14px', color: '#d63638' }}> |
Contributor
There was a problem hiding this comment.
Suggested change
| <h4 style={{ margin: '0 0 8px 0', fontSize: '14px', color: '#d63638' }}> | |
| <h4 style={{ margin: '0 0 8px', fontSize: '14px', color: '#d63638' }}> |
| }) => { | ||
| return ( | ||
| <div className="selected-files" style={{ marginBlockEnd: '20px' }}> | ||
| <h3 style={{ margin: '0 0 12px 0', fontSize: '14px', fontWeight: '600' }}> |
Contributor
There was a problem hiding this comment.
Suggested change
| <h3 style={{ margin: '0 0 12px 0', fontSize: '14px', fontWeight: '600' }}> | |
| <h3 style={{ margin: '0 0 12px', fontSize: '14px', fontWeight: '600' }}> |
| /> | ||
|
|
||
| <ImportCard> | ||
| <h2 style={{ margin: '0 0 1em 0' }}>{__('Choose Files', 'code-snippets')}</h2> |
Contributor
There was a problem hiding this comment.
Suggested change
| <h2 style={{ margin: '0 0 1em 0' }}>{__('Choose Files', 'code-snippets')}</h2> | |
| <h2 style={{ margin: '0 0 1em' }}>{__('Choose Files', 'code-snippets')}</h2> |
| <div style={{ display: 'flex', justifyContent: 'space-between', alignItems: 'center', marginBlockEnd: '10px' }}> | ||
| <div> | ||
| <h3 style={{ margin: '0' }}>{__('Available Snippets', 'code-snippets')} ({importWorkflow.availableSnippets.length})</h3> | ||
| <p style={{ margin: '0.5em 0 1em 0', color: '#666' }}> |
Contributor
There was a problem hiding this comment.
Suggested change
| <p style={{ margin: '0.5em 0 1em 0', color: '#666' }}> | |
| <p style={{ margin: '0.5em 0 1em', color: '#666' }}> |
| return ( | ||
| <ImportCard variant="controls"> | ||
| <label htmlFor="importer-select"> | ||
| <h2 style={{ margin: '0 0 1em 0' }}>{__('Select Plugin', 'code-snippets')}</h2> |
Contributor
There was a problem hiding this comment.
Suggested change
| <h2 style={{ margin: '0 0 1em 0' }}>{__('Select Plugin', 'code-snippets')}</h2> | |
| <h2 style={{ margin: '0 0 1em' }}>{__('Select Plugin', 'code-snippets')}</h2> |
| <ImportCard> | ||
| <div style={{ textAlign: 'center', padding: '40px 20px', color: '#666' }}> | ||
| <div style={{ fontSize: '48px', marginBlockEnd: '16px' }}>📭</div> | ||
| <h3 style={{ margin: '0 0 8px 0', fontSize: '18px', color: '#333' }}> |
Contributor
There was a problem hiding this comment.
Suggested change
| <h3 style={{ margin: '0 0 8px 0', fontSize: '18px', color: '#333' }}> | |
| <h3 style={{ margin: '0 0 8px', fontSize: '18px', color: '#333' }}> |
| }} | ||
| > | ||
| <div style={{ fontSize: '48px', marginBlockEnd: '10px', color: '#666' }}>📁</div> | ||
| <p style={{ margin: '0 0 8px 0', fontSize: '16px', fontWeight: '500' }}> |
Contributor
There was a problem hiding this comment.
Suggested change
| <p style={{ margin: '0 0 8px 0', fontSize: '16px', fontWeight: '500' }}> | |
| <p style={{ margin: '0 0 8px', fontSize: '16px', fontWeight: '500' }}> |
| }) => { | ||
| return ( | ||
| <ImportCard> | ||
| <h2 style={{ margin: '0 0 1em 0' }}>{__('Duplicate Snippets', 'code-snippets')}</h2> |
Contributor
There was a problem hiding this comment.
Suggested change
| <h2 style={{ margin: '0 0 1em 0' }}>{__('Duplicate Snippets', 'code-snippets')}</h2> | |
| <h2 style={{ margin: '0 0 1em' }}>{__('Duplicate Snippets', 'code-snippets')}</h2> |
| </span> | ||
| </div> | ||
| <div style={{ flex: 1 }}> | ||
| <h3 style={{ margin: '0 0 8px 0', fontSize: '16px', fontWeight: '600' }}> |
Contributor
There was a problem hiding this comment.
Suggested change
| <h3 style={{ margin: '0 0 8px 0', fontSize: '16px', fontWeight: '600' }}> | |
| <h3 style={{ margin: '0 0 8px', fontSize: '16px', fontWeight: '600' }}> |
| : __('Import Failed', 'code-snippets') | ||
| } | ||
| </h3> | ||
| <p style={{ margin: '0 0 8px 0', color: '#666' }}> |
Contributor
There was a problem hiding this comment.
Suggested change
| <p style={{ margin: '0 0 8px 0', color: '#666' }}> | |
| <p style={{ margin: '0 0 8px', color: '#666' }}> |
ramiy
suggested changes
Dec 19, 2025
Contributor
ramiy
left a comment
There was a problem hiding this comment.
Consistent design - 4px border-radius.
| } | ||
|
|
||
| return ( | ||
| <table className="wp-list-table widefat fixed striped" style={{ borderRadius: '5px', tableLayout: 'fixed' }}> |
Contributor
There was a problem hiding this comment.
Suggested change
| <table className="wp-list-table widefat fixed striped" style={{ borderRadius: '5px', tableLayout: 'fixed' }}> | |
| <table className="wp-list-table widefat fixed striped" style={{ borderRadius: '4px', tableLayout: 'fixed' }}> |
| padding: '3px 6px', | ||
| fontSize: '10px', | ||
| textTransform: 'uppercase', | ||
| borderRadius: '3px' |
Contributor
There was a problem hiding this comment.
Suggested change
| borderRadius: '3px' | |
| borderRadius: '4px' |
| </div> | ||
| </div> | ||
|
|
||
| <table className="wp-list-table widefat fixed striped" style={{ borderRadius: '5px' }}> |
Contributor
There was a problem hiding this comment.
Suggested change
| <table className="wp-list-table widefat fixed striped" style={{ borderRadius: '5px' }}> | |
| <table className="wp-list-table widefat fixed striped" style={{ borderRadius: '4px' }}> |
| const cardStyle: React.CSSProperties = { | ||
| backgroundColor: '#ffffff', | ||
| padding: '25px', | ||
| borderRadius: '5px', |
Contributor
There was a problem hiding this comment.
Suggested change
| borderRadius: '5px', | |
| borderRadius: '4px', |
# Conflicts: # src/js/components/Import/FromFileUpload/FileUploadForm.tsx # src/js/components/Import/FromFileUpload/components/DragDropUploadArea.tsx # src/js/components/Import/FromFileUpload/components/DuplicateActionSelector.tsx # src/js/components/Import/FromFileUpload/components/ImportResultDisplay.tsx # src/js/components/Import/FromFileUpload/components/SelectedFilesList.tsx # src/js/components/Import/FromFileUpload/components/SnippetSelectionTable.tsx # src/js/components/Import/FromOtherPlugins/ImportForm.tsx # src/js/components/Import/FromOtherPlugins/components/ImportOptions.tsx # src/js/components/Import/FromOtherPlugins/components/ImporterSelector.tsx # src/js/components/Import/FromOtherPlugins/components/SimpleSnippetTable.tsx # src/js/components/Import/FromOtherPlugins/components/StatusDisplay.tsx # src/js/components/Import/ImportApp.tsx # src/js/components/Import/shared/components/ImportCard.tsx # src/js/components/Import/shared/components/ImportSection.tsx # src/php/class-plugin.php # src/php/migration/importers/files/file-upload-importer.php
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.